package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Prefix extends AbstractMethod {
    private static final String name = "prefix";
    /**
    Optional prefix to add to all log messages
    **/
    /**
    添加到所有日志消息的可选前缀
    **/
    public Prefix(String log) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new SingleQuotesArg(log));


    }
}
